home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Online
/
Epic4
/
share
/
epic
/
help
/
6_functions
/
currchans
< prev
next >
Wrap
Text File
|
2001-03-21
|
544b
|
15 lines
Synopsis:
$currchans([<server refnum>])
Technical:
Returns the current channels for each window connected to <server refnum>.
If <server refnum> is -1, then $lastserver() is assumed. If no arguments
are passed, all current channels are returned. This function returns
each argument as "<server refnum> <channel>" in double quotes.
Examples:
eval echo $currchans(1) /* returns "1 #epic" "1 #unix" */
(assuming there are two windows connected to server 1, with #epic in
one window and #unix in the other)